package cn.xyy.common.domain.system.notice;

import cn.xyy.common.annotation.jdbc.Columns;
import cn.xyy.common.annotation.jdbc.Tables;

/**
 * 系统通知表
 * 
 * @author xyy
 *
 */
@Tables("t_sys_notice")
public class Notice {

	@Columns(value = "id", primaryKey = true)
	private Integer id;
	@Columns("title")
	private String title;
	@Columns("content")
	private String content;
	@Columns("type")
	private Integer type; // 消息类型
	@Columns("createtime")
	private String createtime;
	@Columns("status")
	private Integer status;// 用户状态1:正常;2:禁用
	@Columns("creator")
	private String creator;

	public Integer getId() {
		return id;
	}

	public Notice setId(Integer id) {
		this.id = id;
		return this;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getCreatetime() {
		return createtime;
	}

	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

}
